﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CNotebook
{
    public class CashReceiptUnit
    {
        public string DocumentNumber { get; set; }
        public string Reference { get; set; }
        public string Remarks { get; set; }
        public string DocumentType { get; set; }
        public string ReceiptNumber { get; set; }
        public DateTime PostingDate { get; set; }
        public string TINNumber { get; set; }
        public bool IsAccount { get; set; }
        public int PayeeIndex { get; set; }
        public string CardCode { get; set; }
        public string CardName { get; set; }
        public string Address { get; set; }

        public string CashGLAcctCode { get; set; }
        public string CashGLAcctName { get; set; }
        public double CashAmount { get; set; }

        public string CheckGLAcctCode { get; set; }
        public string CheckGLAcctName { get; set; }
        public double CheckAmount { get; set; }

        public string FundTransferAcctCode { get; set; }
        public string FundTransferAcctName { get; set; }
        public string FundTransferBank { get; set; }
        public string FundTransferReference { get; set; }
        public DateTime FundTransferDate { get; set; }
        public double FundTransferAmount { get; set; }

        public double TotalAmount { get; set; }

        public string DocumentStatus { get; set; }
        public DateTime DateCreated { get; set; }
        public string CreatedBy { get; set; }
        public DateTime DateModified { get; set; }
        public string ModifiedBy { get; set; }

        public DataTable AppliedSalesInvoice { get; set; }
        public DataTable AppliedSalesReturn { get; set; }
        public DataTable AppliedDeductionAndExpenses { get; set; }
        public DataTable CheckLineItems { get; set; }

    }
}
